interface PassengerBoardedAPIResData {
  code: number
  msg: string
  time: string
  data: null
}

interface PassengerBoardedAPIData {
  order_status: '3'
  orderid: string
}

export function passengerBoardedAPI(data: PassengerBoardedAPIData, token: string) {
  return httpInstance.post<PassengerBoardedAPIResData, PassengerBoardedAPIData>(
    '/api/driver/ckSc',
    data,
    { headers: { token } },
  )
}
